home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 10
/
AACD 10.iso
/
AACD
/
Programming
/
AmigaTalk
/
prelude
/
SMakeFile
< prev
next >
Wrap
Makefile
|
2000-04-24
|
5KB
|
151 lines
# ###############################################################
#
# MakeFile for the standard prelude & related .p files.
# ###############################################################
#
PARSE = AmigaTalk:c/Parse -hex
#
OUTDIR = AmigaTalk:Prelude/
#
INDIR = AmigaTalk:General/
#
PFILES = $(OUTDIR)Class.p $(OUTDIR)Object.p $(OUTDIR)String.p\
$(OUTDIR)LArray.p $(OUTDIR)Nil.p $(OUTDIR)Array.p $(OUTDIR)Boolean.p\
$(OUTDIR)True.p $(OUTDIR)False.p $(OUTDIR)Block.p $(OUTDIR)Symbol.p\
$(OUTDIR)Magnitude.p $(OUTDIR)Number.p $(OUTDIR)Integer.p $(OUTDIR)Char.p\
$(OUTDIR)Float.p $(OUTDIR)Radian.p $(OUTDIR)Point.p $(OUTDIR)Random.p\
$(OUTDIR)Collection.p $(OUTDIR)Bag.p $(OUTDIR)Set.p $(OUTDIR)KCollection.p\
$(OUTDIR)Dictionary.p $(OUTDIR)SCollection.p $(OUTDIR)Interval.p\
$(OUTDIR)Form.p $(OUTDIR)Pen.p $(OUTDIR)List.p $(OUTDIR)ACollection.p\
$(OUTDIR)File.p $(OUTDIR)ByteArray.p $(OUTDIR)Semaphore.p\
$(OUTDIR)Process.p $(OUTDIR)AmigaTalk.p
#
# ------ Now for the Rules: -------------------------------------
#
#
standard: $(PFILES)
JOIN $(OUTDIR)class.p $(OUTDIR)object.p $(OUTDIR)string.p $(OUTDIR)larray.p $(OUTDIR)nil.p $(OUTDIR)array.p AS RAM:s1
JOIN $(OUTDIR)boolean.p $(OUTDIR)true.p $(OUTDIR)false.p $(OUTDIR)block.p $(OUTDIR)symbol.p $(OUTDIR)magnitude.p AS RAM:s2
JOIN RAM:s1 RAM:s2 $(OUTDIR)number.p $(OUTDIR)integer.p $(OUTDIR)char.p $(OUTDIR)float.p AS RAM:s3
JOIN RAM:s3 $(OUTDIR)radian.p $(OUTDIR)point.p $(OUTDIR)random.p $(OUTDIR)collection.p $(OUTDIR)bag.p $(OUTDIR)set.p AS RAM:s4
JOIN $(OUTDIR)kcollection.p $(OUTDIR)dictionary.p $(OUTDIR)scollection.p AS RAM:s5
JOIN RAM:s4 RAM:s5 $(OUTDIR)interval.p $(OUTDIR)form.p $(OUTDIR)pen.p $(OUTDIR)list.p AS RAM:s6
JOIN $(OUTDIR)acollection.p $(OUTDIR)file.p $(OUTDIR)bytearray.p $(OUTDIR)semaphore.p AS RAM:s7
JOIN RAM:s6 RAM:s7 $(OUTDIR)process.p $(OUTDIR)AmigaTalk.p as RAM:final
COPY RAM:final TO $(OUTDIR)standard
DELETE RAM:s1 RAM:s2 RAM:s3 RAM:s4 RAM:s5 RAM:s6 RAM:s7 RAM:final
#
# ------ Parser Rules: ------------------------------------------
#
$(OUTDIR)Nil.p: $(INDIR)UndefinedObject.st
$(PARSE) $(INDIR)UndefinedObject.st >$(OUTDIR)Nil.p
#
$(OUTDIR)KCollection.p: $(INDIR)KeyedCollection.st
$(PARSE) $(INDIR)KeyedCollection.st >$(OUTDIR)KCollection.p
#
$(OUTDIR)SCollection.p: $(INDIR)SequenceableCollection.st
$(PARSE) $(INDIR)SequenceableCollection.st >$(OUTDIR)SCollection.p
#
$(OUTDIR)ACollection.p: $(INDIR)ArrayedCollection.st
$(PARSE) $(INDIR)ArrayedCollection.st >$(OUTDIR)ACollection.p
#
$(OUTDIR)Interval.p: $(INDIR)Interval.st
$(PARSE) $(INDIR)Interval.st >$(OUTDIR)Interval.p
#
$(OUTDIR)Pen.p: $(INDIR)Pen.st
$(PARSE) $(INDIR)Pen.st >$(OUTDIR)Pen.p
#
$(OUTDIR)List.p: $(INDIR)List.st
$(PARSE) $(INDIR)List.st >$(OUTDIR)List.p
#
$(OUTDIR)ByteArray.p: $(INDIR)ByteArray.st
$(PARSE) $(INDIR)ByteArray.st >$(OUTDIR)ByteArray.p
#
$(OUTDIR)Semaphore.p: $(INDIR)Semaphore.st
$(PARSE) $(INDIR)Semaphore.st >$(OUTDIR)Semaphore.p
#
$(OUTDIR)Class.p: $(INDIR)Class.st
$(PARSE) $(INDIR)Class.st >$(OUTDIR)Class.p
#
$(OUTDIR)Object.p: $(INDIR)Object.st
$(PARSE) $(INDIR)Object.st >$(OUTDIR)Object.p
#
$(OUTDIR)String.p: $(INDIR)String.st
$(PARSE) $(INDIR)String.st >$(OUTDIR)String.p
#
$(OUTDIR)LArray.p: $(INDIR)LArray.st
$(PARSE) $(INDIR)LArray.st >$(OUTDIR)LArray.p
#
$(OUTDIR)Array.p: $(INDIR)Array.st
$(PARSE) $(INDIR)Array.st >$(OUTDIR)Array.p
#
$(OUTDIR)Boolean.p: $(INDIR)Boolean.st
$(PARSE) $(INDIR)Boolean.st >$(OUTDIR)Boolean.p
#
$(OUTDIR)True.p: $(INDIR)True.st
$(PARSE) $(INDIR)True.st >$(OUTDIR)True.p
#
$(OUTDIR)False.p: $(INDIR)False.st
$(PARSE) $(INDIR)False.st >$(OUTDIR)False.p
#
$(OUTDIR)Block.p: $(INDIR)Block.st
$(PARSE) $(INDIR)Block.st >$(OUTDIR)Block.p
#
$(OUTDIR)Symbol.p: $(INDIR)Symbol.st
$(PARSE) $(INDIR)Symbol.st >$(OUTDIR)Symbol.p
#
$(OUTDIR)Magnitude.p: $(INDIR)Magnitude.st
$(PARSE) $(INDIR)Magnitude.st >$(OUTDIR)Magnitude.p
#
$(OUTDIR)Number.p: $(INDIR)Number.st
$(PARSE) $(INDIR)Number.st >$(OUTDIR)Number.p
#
$(OUTDIR)Integer.p: $(INDIR)Integer.st
$(PARSE) $(INDIR)Integer.st >$(OUTDIR)Integer.p
#
$(OUTDIR)Char.p: $(INDIR)Char.st
$(PARSE) $(INDIR)Char.st >$(OUTDIR)Char.p
#
$(OUTDIR)Float.p: $(INDIR)Float.st
$(PARSE) $(INDIR)Float.st >$(OUTDIR)Float.p
#
$(OUTDIR)Radian.p: $(INDIR)Radian.st
$(PARSE) $(INDIR)Radian.st >$(OUTDIR)Radian.p
#
$(OUTDIR)Point.p: $(INDIR)Point.st
$(PARSE) $(INDIR)Point.st >$(OUTDIR)Point.p
#
$(OUTDIR)Random.p: $(INDIR)Random.st
$(PARSE) $(INDIR)Random.st >$(OUTDIR)Random.p
#
$(OUTDIR)Collection.p: $(INDIR)Collection.st
$(PARSE) $(INDIR)Collection.st >$(OUTDIR)Collection.p
#
$(OUTDIR)Bag.p: $(INDIR)Bag.st
$(PARSE) $(INDIR)Bag.st >$(OUTDIR)Bag.p
#
$(OUTDIR)Set.p: $(INDIR)Set.st
$(PARSE) $(INDIR)Set.st >$(OUTDIR)Set.p
#
$(OUTDIR)Dictionary.p: $(INDIR)Dictionary.st
$(PARSE) $(INDIR)Dictionary.st >$(OUTDIR)Dictionary.p
#
$(OUTDIR)Form.p: $(INDIR)Form.st
$(PARSE) $(INDIR)Form.st >$(OUTDIR)Form.p
#
$(OUTDIR)File.p: $(INDIR)File.st
$(PARSE) $(INDIR)File.st >$(OUTDIR)File.p
#
$(OUTDIR)Process.p: $(INDIR)Process.st
$(PARSE) $(INDIR)Process.st >$(OUTDIR)Process.p
#
$(OUTDIR)AmigaTalk.p: $(INDIR)AmigaTalk.st
$(PARSE) $(INDIR)AmigaTalk.st >$(OUTDIR)AmigaTalk.p
#
#
# ------ Default for the rest of the rules: ---------------------
#
#.st.p:
# $(PARSE) $(INDIR)$>.st >$@ # Why don't this work all the time??
#